package com.itheima.dto;


import com.itheima.pojo.OrderDetail;
import com.itheima.pojo.Orders;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.List;

@Data  // DTO实体模型 用于展示层与服务层之间的数据传输
@ApiModel("订单Dto")
public class OrdersDto extends Orders {

    private String userName;

    private String phone;

    private String address;

    private String consignee;

    private List<OrderDetail> orderDetails;

    private int sumNum;
	
}
